package com.mingqi.enetconnected.net.request;

import android.content.Context;

import com.mingqi.enetconnected.net.model.FileDTO;

import java.util.List;

/**
 * 文件上传下载类
 */
public class FileOptionUtils {
    /**
     * 图片上传url POST
     */
    public final static String UPLOAD_FILE_URL = "/v1/plat/configuration/resources/upload";
    /**
     * 图片下载url GET
     */
    public final static String DOWNLOAD_FILE_URL="/uv1/media/download/{MEDIA_ID}";

    public static void upLoadFile(Context cxt, List<FileDTO> data) {
        Communicator communicator = new Communicator(cxt, UPLOAD_FILE_URL);

    //    communicator.uploadFile()
    }

    public static void downloadFile(Context cxt){
        Communicator communicator = new Communicator(cxt, DOWNLOAD_FILE_URL);
      //  communicator.getMedia()
    }


}
